Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 798 Bytes

MUIGetParentBackgroundBitmap.rst

File metadata and controls

35 lines (20 loc) · 798 Bytes

MUIGetParentBackgroundBitmap

MUIGetParentBackgroundBitmap, hWin:MUIWND<MUIWND>

Gets parent's background bitmap from the parent dc, at the child's location and size. For use in setting background of child to 'transparent'.

Parameters

  • [in] hWin - handle to the window to get the parent bitmap for

Return

Returns a HBTIMAP if successful or NULL otherwise

Example

LOCAL hBackBitmap:HBITMAP

Invoke MUIGetParentBackgroundBitmap, hWin
.IF eax != NULL
   mov hBackBitmap, eax
   ; Store bitmap and use to paint our control's background to fake transparency
.ENDIF

See Also

MUIGetParentBackgroundColor<MUIGetParentBackgroundColor>